const initialState = {
    // 文章详情数据
    info: {},
  }
  export function article(state = initialState, action) {
    switch (action.type) {
      case 'article/setArticleInfo':
        return {
          ...state,
          info: action.payload,
        }
      default:
        return state
    }
  }
  